package cn.zc.curriculum.entity.Dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CurriculumImgDto {

    /**
     * id
     */
    @ApiModelProperty(value = "id", required = false)
    private String id;

    /**
     * 图片路径
     */
    @ApiModelProperty(value = "本地路径", required = true)
    private String imgUrl;

    /**
     * 图片类型，1为封面图，2为头像,3为轮播图，4为按钮图片
     */
    @ApiModelProperty(value = "图片类型，1为封面图，2为头像，3为轮播图，4为按钮图片", required = true)
    private Integer imgType;

    /**
     * oss路径
     */
    @ApiModelProperty(value = "oss路径", required = true)
    private String ossUrl;

    @ApiModelProperty(value = "文件后缀", required = false)
    private String endName;
}
